# algorithm/urls.py
from django.urls import path
from . import views


urlpatterns = [
    # 处理打印用户标签掌握度信息
    path('user_tag_mastery/', views.get_user_tag_mastery_info, name='user_tag_mastery_info'),
    # 处理用户综合水平信息
    path('user_comprehensive_level/', views.get_user_comprehensive_level_info, name='user_comprehensive_level_info'),
    # 处理打印用户题目推荐分信息
    path('user_problem_score/', views.get_user_problem_recommendation_score_info, name='user_problem_recommendation_score_info'),

    # 处理初始化用户标签掌握度
    path('initialize_user_tag_mastery/', views.initialize_user_tag_mastery, name='initialize_user_tag_mastery'),
    path('clear_user_tag_mastery/', views.clear_user_tag_mastery, name='clear_user_tag_mastery'),

    # 处理初始化用户综合水平信息
    path('generate_comprehensive_level/', views.generate_user_comprehensive_level, name='generate_comprehensive_level'),
    # 处理初始化用户题目推荐分
    path('initialize_user_problem_score/', views.initialize_user_problem_recommendation_score, name='initialize_user_problem_score'),

    # 调试算法时使用的接口
    path('initialize_user_mastery_levels_view/', views.initialize_user_mastery_levels_view, name='initialize_user_mastery_levels_view'),
    # 给前端用的接口
    path('user/comprehensive_level/', views.get_user_comprehensive_level, name='get_user_comprehensive_level'),
    path('user/tags_mastery/', views.get_user_tag_mastery, name='get_user_tag_mastery'),

    path('frontend_get_user_tag_mastery/', views.frontend_get_user_tag_mastery, name='frontend_get_user_tag_mastery'),
    path('frontend_get_tag_dependencies/', views.frontend_get_tag_dependencies, name='frontend_get_tag_dependencies'),
    path('frontend_get_tag_dependencies_for_liu/', views.frontend_get_tag_dependencies_for_liu, name='frontend_get_tag_dependencies_for_liu'),
]